package com.bosssoft.trainee.service;

import com.bosssoft.trainee.mbg.po.Position;

import java.util.List;

/**
 * @Author: wuxin
 * @Project: rbac-SpringCloud
 * @Date: 2022/7/19
 * @Description:
 */
public interface PositionService {
    /**
     * 根据id批量获取Position
     * @param ids
     * @return
     */
    List<Position> getPositions(List<Integer> ids);

    /**
     * 获取所有Position
     * @return
     */
    List<Position> getList();

    /**
     * 根据id删除Position
     * @param id
     * @return
     */
    int deleteById(Integer id);
}
